﻿@model Scrumrun.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<hgroup class="title">
    <h2>@ViewBag.Title.</h2>
    <h3>Create a new account.</h3>
</hgroup>
<p>
    The new account needs to be varified by admin of the site before user can login.
</p>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Registration Form</legend>
@*        <ol>
            <li>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input type="submit" value="Register" />*@

        <div class="control-group">
            @Html.LabelFor(m => m.UserName, new { @Class = "control-label" })
            <div class="controls">
                @Html.TextBoxFor(m => m.UserName)
            </div>
        </div>
        <div class="control-group">
             @Html.LabelFor(m => m.Password, new { @Class = "control-label" })
            <div class="controls">
                @Html.PasswordFor(m => m.Password)
            </div>
        </div>
        <div class="control-group">
            @Html.LabelFor(m => m.ConfirmPassword, new { @Class = "control-label" })
            <div class="controls">
                @Html.PasswordFor(m => m.ConfirmPassword)
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
        <input type="submit" value="Register" class="btn btn-success"/>
            </div>
        </div>

    </fieldset>
}

@section Scripts {
   
}
